package com.itheima.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;


import com.itheima.crm.pojo.gonggao;



public interface GongGaoDao {

	
	//总条数
	public Integer gonggaoCount(@Param(value="fromtime")String fromtime, @Param(value="totime")String totime,@Param(value="G")gonggao gonggao);
	//结果集
	public List<gonggao> selectgonggao(@Param(value="fromtime")String fromtime, @Param(value="totime")String totime,@Param(value="G")gonggao gonggao);
	
	//总条数
		public Integer gonggaoCountAll(gonggao vo);
		//结果集
		public List<gonggao> selectgonggaoAll(gonggao vo);
		
		
	//通过ID查询客户
	public gonggao selectgonggaoById(Integer id);
	//插入公文信息
	public void insertgonggao(gonggao vo);
	//修改客户通过ID
	public void updategonggaoById(gonggao gonggao);
	//通过ID 删除客户
	public void deletegonggaoById(Integer id);

	public void changeShow(@Param("ifshow")String ifshow,@Param("id")Integer id);
	
	
	}

